package com.design.cjm.creational.factorymethod.example;

/**
 * 宝马工厂方法类
 */
public class BMWCarFactory implements ICarFactory {

    @Override
    public Car createInstance() {

        return new BMWCar();
    }
}
